//
//  LCYCollectionCell.m
//  EPA
//
//  Created by lanou3g on 16/4/26.
//  Copyright © 2016年 liu. All rights reserved.
//

#import "LCYCollectionCell.h"

@interface LCYCollectionCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UIImageView *coverimgView;
@property (weak, nonatomic) IBOutlet UILabel *contentLable;
@property (weak, nonatomic) IBOutlet UILabel *unameLable;

@end

@implementation LCYCollectionCell

- (void)awakeFromNib {
    // Initialization code
}


- (void)layoutSubviews {
    [self.coverimgView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.titleLable.text = self.model.title;
    self.contentLable.text = self.model.content;
    self.unameLable.text = self.model.name;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
